package com.zmn.oms.services.interfaces.conf.attachment;
import com.zmn.oms.model.entity.conf.attachment.ConfOrderAttachmentStandard;

import java.util.List;

public interface ConfOrderAttachmentStandardService {

	ConfOrderAttachmentStandard findStandardByConfAttachmentId(Integer configAttachmentId);

	List<ConfOrderAttachmentStandard> listByQuery(ConfOrderAttachmentStandard confOrderAttachmentStandard);

	List<ConfOrderAttachmentStandard> listByAttachmentIds(List<Integer> attachmentIds);

	int deleteByAttachmentId(Integer attachmentId);

	int deleteByPrimaryKey(Integer standardId);

	int insert(ConfOrderAttachmentStandard record);

	int insertSelective(ConfOrderAttachmentStandard record);

	ConfOrderAttachmentStandard selectByPrimaryKey(Integer standardId);

	int updateByPrimaryKeySelective(ConfOrderAttachmentStandard record);

	int updateByPrimaryKey(ConfOrderAttachmentStandard record);

	int updateByAttachmentId(ConfOrderAttachmentStandard updated);
}
